﻿ 
using System.ComponentModel;
  
namespace SHKF.B2C.Model
{
    public class ViewModelBase : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        protected virtual void OnPropertyChanged(string propertyName = null)
        {
            if (PropertyChanged != null)
                PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }

        private long _app_poi_code;

        public long app_poi_code
        {
            get { return _app_poi_code; }
            set { _app_poi_code = value;
                this.OnPropertyChanged("app_poi_code");
            }
        }


        private string data;

        public string Data
        {
            get { return data; }
            set
            {
                data = value;
                this.OnPropertyChanged("data");
            }
        }
    }
}
